package com.tinysand.advert.service;

import com.tinysand.advert.exception.AdvertException;
import com.tinysand.advert.support.AdvertRequest;
import com.tinysand.advert.support.AdvertResponse;

/**
 * 广告服务接口定义
 *
 * Created By TINY
 * Create Time 2020/2/21
 **/
public interface AdvertService {

    /**
     * 创建广告
     *
     * @param request 广告创建请求对象 {@link AdvertRequest}
     * @return 广告请求响应对象 {@link AdvertResponse}
     * @throws AdvertException 业务异常
     */
    AdvertResponse createAdvertisement(AdvertRequest request)
            throws AdvertException;
}
